package cn.stylefeng.guns.modular.household.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 房屋信息
 *
 * @author lichenhui
 * @date 2024/03/20
 */
@Data
@TableName("cq_housing_info")
public class HousingInfo extends BaseEntity implements Serializable {

    @TableId("housing_id")
    @ChineseDescription("房屋信息ID")
    private Long housingId;

    @TableField("household_id")
    @ChineseDescription("户ID")
    private Long householdId;

    @TableField("housing_owner_id")
    @ChineseDescription("权属人ID")
    private Long housingOwnerId;

    @TableField("housing_address")
    @ChineseDescription("所在行政区别")
    private String housingAddress;

    @TableField("housing_area")
    @ChineseDescription("房屋面积（㎡）")
    private Double housingArea;

    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @ChineseDescription("是否删除：Y-被删除，N-未删除")
    private String delFlag;

}
